import { axios } from '@/utils/request'

/**
 * 查询周报汇总表
 *
 * @author zhangping
 * @date 2022-03-11 10:48:51
 */
export function xjbWeeklyPage (parameter) {
  return axios({
    url: '/xjbWeekly/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 周报汇总表列表
 *
 * @author zhangping
 * @date 2022-03-11 10:48:51
 */
export function xjbWeeklyList (parameter) {
  return axios({
    url: '/xjbWeekly/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加周报汇总表
 *
 * @author zhangping
 * @date 2022-03-11 10:48:51
 */
export function xjbWeeklyAdd (parameter) {
  return axios({
    url: '/xjbWeekly/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑周报汇总表
 *
 * @author zhangping
 * @date 2022-03-11 10:48:51
 */
export function xjbWeeklyEdit (parameter) {
  return axios({
    url: '/xjbWeekly/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除周报汇总表
 *
 * @author zhangping
 * @date 2022-03-11 10:48:51
 */
export function xjbWeeklyDelete (parameter) {
  return axios({
    url: '/xjbWeekly/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出周报汇总表
 *
 * @author zhangping
 * @date 2022-03-11 10:48:51
 */
export function xjbWeeklyExport (parameter) {
  return axios({
    url: '/xjbWeekly/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
